package com.shop.cereshop.commons.enums.blacklist;

/**
 * @description: 黑名单关系类型枚举
 * @author zdd
 * @date 2025/11/12 17:14
 * @version 1.0
 */
public enum BlockSourceType {

    MANUAL(1, "手动拉黑"),
    AUTO(2, "自动拉黑"),
    SYSTEM(3, "系统操作");

    private final Integer code;
    private final String desc;

    BlockSourceType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
